package com.example.administrator.biyesheji_print.Utils;

import android.app.Application;

import io.realm.Realm;
import io.realm.RealmConfiguration;

/**
 * Created by Administrator on 2018/3/30.
 */

public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        Realm.init(this);
        RealmConfiguration rc=new RealmConfiguration.Builder()
                .name("filelist")
                .schemaVersion(1)
                .build();
        Realm.setDefaultConfiguration(rc);
    }
}
